<template>
  <li>
    <a href="">
      <img :src="'http://www.codeboy.com:9999/mfresh/' + data.pic" alt=""
    /></a>
    <div class="pdlist_text clearfloat">
      <h3>
        <p>{{ data.model }}</p>
        <span>{{ data.title2 }}</span>
      </h3>
      <a href="">查看详情</a>
    </div>
  </li>
</template>

<script>
export default {
  // 声明属性 接受传参
  props: ['data'],
  mounted() {
    console.log('柱子快看, 这就是组件收到的data:', this.data)
  },
}
</script>

<style lang="scss" scoped></style>
